import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Topics } from "../../interface";

/**
 * 保存或更新 Topics 信息
 * /topics
 */
export function postTopics(input: Topics, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/topics`, input, config);
}
